#ifndef TMASRANSWER_H
#define TMASRANSWER_H

#include <QObject>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QJsonParseError>
#include <QNetworkAccessManager>
#include <QNetworkReply>

class TMAsrAnswer : public QObject
{
    Q_OBJECT
public:
    explicit TMAsrAnswer(QObject *parent = 0);

public slots:
    // tuling
    void tuling_replyFinish(QNetworkReply* reply);
    QString parser_tuling_json(QByteArray& bArry);
    void slot_getAsrAnswer(bool bIsChinese, QString strQuestion);

private:
    QNetworkAccessManager* pr_httpGet;
};

#endif // TMASRANSWER_H
